<?php include _include(ADMIN_PATH.'view/htm/header.inc.htm');?>
<div class="row">
    <div class="col-lg-8 mx-auto">
        <div class="card mt-4">
            <div class="card-body">
                <h4 class="card-title text-center mb-0">
                    <i class="icon-ok"></i>
                    采集正在进行中，采集进度:<?php echo ($i+($page-1)*2).'/'.$total;?>
                    <?php if ($total_page > $page){ ?>
                        <script>location.href="<?php echo url('collection-contents-'.$id.'-'.($page+1).'-'.$total);?>"</script>
                    <?php } else { ?>
                    <script>
                        alert('采集完成');
                        location.href="<?php echo url('collection-publist-'.$id.'-1-1');?>";
                    </script>
                    <?php }?>
                </h4>
            </div>
        </div>
    </div>
</div>
<?php include _include(ADMIN_PATH.'view/htm/footer.inc.htm');?>